<!--
 * @Author       : wfl
 * @LastEditors  : wfl
 * @description  :
 * @updateInfo   :
 * @Date         : 2023-03-29 15:53:18
 * @LastEditTime : 2023-07-31 18:11:10
-->
<script lang="ts" setup name="IkPageFooter">
const props = defineProps({
  padding: { type: String, default: '0 20px' }
})
</script>

<template>
  <el-affix v-bind="{ ...props, ...$attrs }" class="ikwf-page-footer" :style="{ padding }">
    <slot></slot>
  </el-affix>
</template>

<style lang="scss" scoped>
.ikwf-page-footer {
  display: flex;
  width: 100%;
  align-items: center;
  background: var(--el-bg-color);
  z-index: 99;
  box-sizing: border-box;
  user-select: none;
  justify-content: flex-end;
  position: absolute;
  bottom: 15px;
}
</style>
